/**
 * First we will load all of this project's JavaScript dependencies which
 * includes Vue and other libraries. It is a great starting point when
 * building robust, powerful web applications using Vue and Laravel.
 */

require('./bootstrap');
// 引入基础类
import { createApp } from 'vue';
import router from './router/router'
import ViewUIPlus from 'view-ui-plus'
import 'view-ui-plus/dist/styles/viewuiplus.css'
// 各API接口
import api from './api/api' // 导入api接口
// 首页模板
import App from './views/App.vue'

import store from './store/store'

const app = createApp(App)
app.config.productionTip = false
app.config.globalProperties.$api = api; // 将api挂载到vue的原型上
app.use(store).use(router).use(ViewUIPlus).mount('#app');